﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JM.JCY.BusinessEntity;
using JM.JCY.BusinessEntity.DTOs.Notification;

namespace JM.JCY.Common
{
  public interface INotification
    {
      int InsertNotification(SingleNotification NotificationObj);

      int InsertNotifications(MultipleNotifications NotificationObj);

      NotificationDataSet.NotificationTableDataTable GetTopXNotifications(int staffID);

      NotificationDataSet.NotificationTableDataTable GetLastThirtyDaysNotifications(int staffID);

      void MarkAsRead(int[] NotificationIds);

      void MarkAllAsRead(string RecipientId);

      int GetUnreadCount(int recipientId);
    }
}
